﻿using NLog.Layouts;
using NLog.Targets;
using System;
using System.Collections.Generic;
using System.Text;

namespace SuperX.Common.Log
{
    // 
    [Target("NLogViewer")]
    public class CustomNLogViewerTarget : NLogViewerTarget
    {
        // 
        public CustomNLogViewerTarget()
        {
            this._layout = new CustomLog4JXmlEventLayout();
        }

        // 
        public override Layout Layout
        {
            get
            {
                return this._layout;
            }
            set
            {
            }
        }

        // 
        private readonly CustomLog4JXmlEventLayout _layout;
    }
}
